package com.ruoyi.message.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 群对象 group_user
 * 
 * @author ruoyi
 * @date 2023-10-19
 */
public class GroupUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 群标识 */
    private Long id;

    /** 群名称 */
    @Excel(name = "群名称")
    private String groupName;

    /** 群头像 */
    @Excel(name = "群头像")
    private String groupAvatar;

    /** 群状态 */
    @Excel(name = "群状态")
    private Long groupStatus;

    /** 群描述 */
    @Excel(name = "群描述")
    private String groupDescription;

    /** 创建者的Id */
    private Long createId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setGroupAvatar(String groupAvatar) 
    {
        this.groupAvatar = groupAvatar;
    }

    public String getGroupAvatar() 
    {
        return groupAvatar;
    }
    public void setGroupStatus(Long groupStatus) 
    {
        this.groupStatus = groupStatus;
    }

    public Long getGroupStatus() 
    {
        return groupStatus;
    }
    public void setGroupDescription(String groupDescription) 
    {
        this.groupDescription = groupDescription;
    }

    public String getGroupDescription() 
    {
        return groupDescription;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupName", getGroupName())
            .append("groupAvatar", getGroupAvatar())
            .append("createBy", getCreateBy())
            .append("groupStatus", getGroupStatus())
            .append("groupDescription", getGroupDescription())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .toString();
    }
}
